package com.joysuch.wwyt.attendance.dto;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author ZhaoQiuWei
 * @Date 2022/2/28 17:49
 */
@Data
public class AttendanceShiftDto implements Serializable {

    private Long id;

    @ApiModelProperty(value = "班次名称")
    @NotNull(message = "班次名称不能为空")
    private String shiftName;

    @ApiModelProperty(value = "开始时间")
  //  @NotEmpty(message = "开始时间不能为空")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
   // @NotEmpty(message = "结束时间不能为空")
    private String endTime;

}
